IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[cms_sp_DomainDelete]') AND type in (N'P', N'PC'))
	DROP PROCEDURE [dbo].[cms_sp_DomainDelete]
GO
create procedure [dbo].[cms_sp_DomainDelete]
(
@Id int
)
as

delete from [dbo].[Domains] where [DomainId]=@Id

GO

